{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/Home/Dropbox/Research/Under Review/Local Suffrage/JOP/Replication/EUlog.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}15 Mar 2024, 22:14:09

{com}. use "/Users/Home/Dropbox/Research/Under Review/Local Suffrage/JOP/Replication/EU.dta", clear

. do "/Users/Home/Dropbox/Research/Under Review/Local Suffrage/JOP/Replication/EUReplication.do"
{txt}
{com}. *******************************************************************************
. *Replication File: EU Analysis
. *******************************************************************************
. *For use with EU.dta
. **Variable information can be found in Codebook tab Europe
.                 
. ********************************************************************************
. *Data preparation
. ********************************************************************************                
. 
. *Variable for National Suffrage
. gen NoNational = 0
{txt}
{com}. replace NoNational = 1 if rcou != "PRT" & rcou != "GBR" //for national suffrage 
{txt}(25,016 real changes made)

{com}. 
. ********************************************************************************
. *Data analysis
. ********************************************************************************
. 
. *Baseline Model
. eststo main_1: qui mixed IHS_citacq  municipal ///
>         ln_migflow ln_stockvalue  i.year i.scode ///
>         || rscode:,  cluster(rscode) 
{txt}
{com}. *Model with Policy Variation
. eststo main: qui mixed IHS_citacq rmpoliticalNIS10  municipal dualcit ///
>         ln_migflow ln_stockvalue i.year i.scode ///
>         || rscode: ,  cluster(rscode) 
{txt}
{com}. *Model with All Covariates
. eststo covariates: qui mixed IHS_citacq rmpoliticalNIS10 municipal dualcit i.year ///
>         ln_migflow ln_stockvalue rmaccess_nodcgen10 ///
>         rmlaboraccess10 Ll1rgdp l1runemp ///
>         Ll1sgdp l1sunemp spolity2 colony comlang_ethno i.scode ///
>         || rscode:, cluster(rscode) 
{txt}
{com}.         
. *Baseline Model - excluding National Suffrage
. eststo main_1R: qui mixed IHS_citacq  municipal ///
>         ln_migflow ln_stockvalue i.year i.scode ///
>         if NoNational == 1 || rscode:, cluster(rscode)
{txt}
{com}. *Model with Policy Variation - excluding National Suffrage
. eststo main_R: qui mixed IHS_citacq rmpoliticalNIS10  municipal dualcit ///
>         ln_migflow ln_stockvalue i.year i.scode ///
>         if NoNational == 1 || rscode:, cluster(rscode) 
{txt}
{com}. *Model with All Covariates - excluding National Suffrage
. eststo covariates_R: qui mixed IHS_citacq rmpoliticalNIS10  municipal dualcit i.year ///
>         ln_migflow ln_stockvalue rmaccess_nodcgen10 ///
>         rmlaboraccess10 Ll1rgdp l1runemp ///
>         Ll1sgdp l1sunemp spolity2 colony comlang_ethno i.scode ///
>         if NoNational == 1 || rscode:, cluster(rscode) 
{txt}
{com}. 
. *Baseline Model - including Universal Enfranchisement only
. eststo main_1U: qui mixed IHS_citacq  municipal ///
>         ln_migflow ln_stockvalue i.year i.scode ///
>         if NoNational == 1 & rcou!= "ESP" || rscode:, cluster(rscode) 
{txt}
{com}. *Model with Policy Variation - including Universal Enfranchisement only
. eststo main_U: qui mixed IHS_citacq rmpoliticalNIS10  municipal dualcit ///
>         ln_migflow ln_stockvalue i.year i.scode ///
>         if NoNational == 1 & rcou!= "ESP" || rscode:, cluster(rscode) 
{txt}
{com}. *Model with All Covariates - including Universal Enfranchisement only
. eststo covariates_U: qui mixed IHS_citacq rmpoliticalNIS10  municipal dualcit i.year ///
>         ln_migflow ln_stockvalue rmaccess_nodcgen10 ///
>         rmlaboraccess10 Ll1rgdp l1runemp ///
>         Ll1sgdp l1sunemp spolity2 colony comlang_ethno i.scode ///
>         if NoNational == 1 & rcou!= "ESP" || rscode:, cluster(rscode) 
{txt}
{com}. 
. *Baseline Model with Policy Variation - alternative Dual Citizenship Coding
. eststo main1_dc: qui  mixed IHS_citacq rmpoliticalNIS10  municipal dualcit_c ///
>         ln_migflow ln_stockvalue i.year i.scode ///
>         || rscode:, cluster(rscode) 
{txt}
{com}. *Model with All Covariates - alternative Dual Citizenship Coding
. eststo main2_dc: qui mixed IHS_citacq rmpoliticalNIS10  municipal dualcit_c i.year ///
>         ln_migflow ln_stockvalue rmaccess_nodcgen10  ///
>         rmlaboraccess10 Ll1rgdp l1runemp ///
>         Ll1sgdp l1sunemp spolity2 colony comlang_ethno i.scode ///
>         || rscode:, cluster(rscode) 
{txt}
{com}.         
. *Baseline Model Model with Policy Variation - Within-Between Random Effects
. eststo REWB_1: qui xthybrid IHS_citacq  ///
>         rmpoliticalNIS10  municipal dualcit ln_migflow ln_stockvalue ///
>         if rdc != . & sdc != . & NoNational == 1, ///
>         clusterid(rscode) vce(robust) se test full 
{txt}
{com}. *Model with All Covariates - Within-Between Random Effects
. eststo REWB_covariates: qui xthybrid IHS_citacq rmlaboraccess10 ///
>         rmpoliticalNIS10  municipal     dualcit ln_migflow ln_stockvalue ///
>         rmaccess_nodcgen10 Ll1rgdp l1runemp ///
>         Ll1sgdp l1sunemp spolity2 colony comlang_ethno  ///
>         if NoNational == 1, clusterid(rscode) vce(robust) se test full 
{txt}
{com}.         
. *Robust Rate Model with All Covariates - Logical Stock
. eststo robustrateS_logical: qui mixed IHS_propcitB rmpoliticalNIS10 municipal ///
>         dualcit i.year ///
>         ln_migflow rmaccess_nodcgen10 ///
>         rmlaboraccess10 Ll1rgdp l1runemp ///
>         Ll1sgdp l1sunemp spolity2 colony comlang_ethno i.scode ///
>         if propcitB <= 100 || rscode:, cluster(rscode) 
{txt}
{com}. *Robust Rate Model with All Covariates - Exceeding 100% Stock
. eststo robustrateS: qui mixed IHS_propcitB rmpoliticalNIS10 municipal ///
>         dualcit i.year ///
>         ln_migflow rmaccess_nodcgen10 ///
>         rmlaboraccess10 Ll1rgdp l1runemp ///
>         Ll1sgdp l1sunemp spolity2 colony comlang_ethno i.scode ///
>         || rscode:, cluster(rscode) 
{txt}
{com}. *Robust Model with All Covariates - Immigrant Stock 
. eststo robustS: qui mixed IHS_cit rmpoliticalNIS10 municipal dualcit i.year ///
>         ln_migflow ln_bilateralstock1 rmaccess_nodcgen10 ///
>         rmlaboraccess10 Ll1rgdp l1runemp ///
>         Ll1sgdp l1sunemp spolity2 colony comlang_ethno i.scode ///
>         || rscode:, cluster(rscode) 
{txt}
{com}. *Robust Rate Model with All Covariates - Logical Residents
. eststo robustrateR_logical: qui mixed IHS_propcitBR rmpoliticalNIS10 municipal dualcit i.year ///
>         ln_migflow rmaccess_nodcgen10 ///
>         rmlaboraccess10 Ll1rgdp l1runemp ///
>         Ll1sgdp l1sunemp spolity2 colony comlang_ethno i.scode ///
>         if propcitR <= 100|| rscode:, cluster(rscode) 
{txt}
{com}. *Robust Rate Model with All Covariates - Exceeding 100% Residents
. eststo robustrateR: qui mixed IHS_propcitBR rmpoliticalNIS10 municipal dualcit i.year ///
>         ln_migflow rmaccess_nodcgen10 ///
>         rmlaboraccess10 Ll1rgdp l1runemp ///
>         Ll1sgdp l1sunemp spolity2 colony comlang_ethno i.scode ///
>         || rscode:, cluster(rscode) 
{txt}
{com}. *Robust Model with All Covariates - Immigrant Residents 
. eststo robustR: qui mixed IHS_cit rmpoliticalNIS10 municipal dualcit i.year ///
>         ln_migflow ln_bilateralres rmaccess_nodcgen10 ///
>         rmlaboraccess10 Ll1rgdp l1runemp ///
>         Ll1sgdp l1sunemp spolity2 colony comlang_ethno i.scode ///
>         || rscode:, cluster(rscode) 
{txt}
{com}.                         
. ********************************************************************************
. *Appendix Table A.2.5
. ********************************************************************************
. 
. sum municipal rmpoliticalNIS10 dualcit rmaccess_nodcgen10 rmlaboraccess10 ///
>         ln_migflow ln_stockvalue Ll1rgdp l1runemp ///
>         Ll1sgdp l1sunemp spolity2 colony comlang_ethno ///
>         Asia Europe SCAmerica NAmerica Africa Oceania MENA 

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 3}municipal {c |}{res}     12,868    .5568853    .4967728          0          1
{txt}rmpolitic~10 {c |}{res}     12,868    6.720305    2.053737          0         10
{txt}{space 5}dualcit {c |}{res}     12,868    .4731893    .4993001          0          1
{txt}rmaccess_~10 {c |}{res}     12,868    5.040224    1.351518   .7083334   8.027778
{txt}rmlaborac~10 {c |}{res}     12,868    6.724588    2.705485          0         10
{txt}{hline 13}{c +}{hline 57}
{space 2}ln_migflow {c |}{res}     12,868     11.4281    1.250152   7.009409   14.11007
{txt}ln_stockva~e {c |}{res}     12,868    14.15831    1.325025   11.02453   16.17476
{txt}{space 5}Ll1rgdp {c |}{res}     12,868    27.01801    1.231457   24.11138   28.87254
{txt}{space 4}l1runemp {c |}{res}     12,868    8.129165    3.794551        2.8       26.1
{txt}{space 5}Ll1sgdp {c |}{res}     12,868    25.25859    1.992513   20.50497   30.41741
{txt}{hline 13}{c +}{hline 57}
{space 4}l1sunemp {c |}{res}     12,868    8.445703    6.317344         .2       36.1
{txt}{space 4}spolity2 {c |}{res}     12,868    3.179515    6.013943        -10         10
{txt}{space 6}colony {c |}{res}     12,868     .062636    .2423165          0          1
{txt}comlang_et~o {c |}{res}     12,868    .0849394    .2788023          0          1
{txt}{space 8}Asia {c |}{res}     12,868    .2086571    .4063646          0          1
{txt}{hline 13}{c +}{hline 57}
{space 6}Europe {c |}{res}     12,868      .10258    .3034214          0          1
{txt}{space 3}SCAmerica {c |}{res}     12,868    .1786602    .3830825          0          1
{txt}{space 4}NAmerica {c |}{res}     12,868    .0207491    .1425489          0          1
{txt}{space 6}Africa {c |}{res}     12,868    .3187753    .4660198          0          1
{txt}{space 5}Oceania {c |}{res}     12,868    .0314734    .1746002          0          1
{txt}{hline 13}{c +}{hline 57}
{space 8}MENA {c |}{res}     12,868    .1391048    .3460693          0          1
{txt}
{com}. 
. ********************************************************************************
. *Appendix Table B.2.1
. ********************************************************************************
. 
. esttab main_1 main covariates using appendixb21.tex, se(3) b(3) aic ///
>         nogaps star(+ 0.1 * 0.05 ** 0.01) ///
>         refcat(municipal "\textit{c -(}Destination Effects{c )-}" Ll1sgdp "\textit{c -(}Origin Effects{c )-}", ///
>         nolabel) drop(*.year lns1_1_1:_cons lnsig_e:_cons) ///
>         order(municipal ln_migflow ln_stockvalue ///
>                 rmpoliticalNIS10 dualcit rmaccess_nodcgen10 rmlaboraccess10 Ll1rgdp l1runemp ///
>                 Ll1sgdp l1sunemp spolity2 colony comlang_ethno) ///
>         indicate(Fixed Effects = *scode, labels("Origin \& Year " "--")) ///
>         label nonumbers mtitles("1" "2" "3") ///
>         addnotes("Unstandardized beta coefficients with robust clustered standard errors in parentheses." ///
>         "+p < 0.10 * p < 0.05, ** p < 0.01.") nonotes replace
{res}{txt}(note: file appendixb21.tex not found)
(output written to {browse  `"appendixb21.tex"'})

{com}.         
. ********************************************************************************        
. *Appendix Table C.2.1
. ********************************************************************************
. 
. esttab main_1R main_R covariates_R using appendixc21.tex, se(3) b(3) aic ///
>         nogaps star(+ 0.1 * 0.05 ** 0.01) ///
>         refcat(municipal "\textit{c -(}Destination Effects{c )-}" Ll1sgdp "\textit{c -(}Origin Effects{c )-}", ///
>         nolabel) drop(*.year lns1_1_1:_cons lnsig_e:_cons) ///
>         order(municipal ln_migflow ln_stockvalue ///
>                 rmpoliticalNIS10 dualcit rmaccess_nodcgen10 rmlaboraccess10 Ll1rgdp l1runemp ///
>                  Ll1sgdp l1sunemp spolity2 colony comlang_ethno) ///
>         indicate(Fixed Effects = *scode, labels("Origin \& Year " "--")) ///
>         label nonumbers mtitles("1" "2" "3") ///
>         addnotes("Unstandardized beta coefficients with robust clustered standard errors in parentheses." ///
>         "+p < 0.10 * p < 0.05, ** p < 0.01.") nonotes replace
{res}{txt}(note: file appendixc21.tex not found)
(output written to {browse  `"appendixc21.tex"'})

{com}. 
. ********************************************************************************
. *Appendix Table C.2.2
. ********************************************************************************
. esttab main_1U main_U covariates_U using appendixc22.tex, se(3) b(3) aic ///
>         nogaps star(+ 0.1 * 0.05 ** 0.01) ///
>         refcat(municipal "\textit{c -(}Destination Effects{c )-}" Ll1sgdp "\textit{c -(}Origin Effects{c )-}", ///
>         nolabel) drop(*.year lns1_1_1:_cons lnsig_e:_cons) ///
>         order(municipal ln_migflow ln_stockvalue ///
>                 rmpoliticalNIS10 dualcit rmaccess_nodcgen10 rmlaboraccess10 Ll1rgdp l1runemp ///
>                  Ll1sgdp l1sunemp spolity2 colony comlang_ethno) ///
>         indicate(Fixed Effects = *scode, labels("Origin \& Year " "--")) ///
>         label nonumbers mtitles("1" "2" "3") ///
>         addnotes("Unstandardized beta coefficients with robust clustered standard errors in parentheses." ///
>         "+p < 0.10 * p < 0.05, ** p < 0.01.") nonotes replace
{res}{txt}(note: file appendixc22.tex not found)
(output written to {browse  `"appendixc22.tex"'})

{com}.         
. ********************************************************************************
. *Appendix Table C.2.3   
. ********************************************************************************
. 
. esttab main1_dc main2_dc using appendixc23.tex, se(3) b(3) aic ///
>         nogaps star(+ 0.1 * 0.05 ** 0.01) ///
>         refcat(municipal "\textit{c -(}Destination Effects{c )-}" sdc "\textit{c -(}Origin Effects{c )-}", ///
>         nolabel) drop(*.year lns1_1_1:_cons lnsig_e:_cons) ///
>         indicate(Fixed Effects = *scode, labels("Origin \& Year " "--")) ///
>         order(municipal ln_migflow ln_stockvalue ///
>                 rmpoliticalNIS10 dualcit_c rmaccess_nodcgen10 rmlaboraccess10 Ll1rgdp l1runemp ///
>                 Ll1sgdp l1sunemp spolity2 colony comlang_ethno) ///
>         label nonumbers mtitles("1" "2" "3") ///
>         addnotes("Unstandardized beta coefficients with robust clustered standard errors in parentheses." ///
>         "+p < 0.10 * p < 0.05, ** p < 0.01.") nonotes replace
{res}{txt}(note: file appendixc23.tex not found)
(output written to {browse  `"appendixc23.tex"'})

{com}. 
. ********************************************************************************
. *Appendix Table C.2.4 
. ********************************************************************************
. 
. esttab REWB_1 REWB_1 REWB_covariates REWB_covariates using appendixc24.rtf, se(3) b(3) aic ///
>         nogaps star(+ 0.1 * 0.05 ** 0.01) ///
>         coeflabels(R__municipal "Municipal Suffrage" ///
>                 R__ln_stockvalue "Migrant stock (log)" ////
>                 W__ln_migflow "Migrant flow (log)" ///
>                 W__rmpoliticalNIS10 "Political Representation" W__rdc "Dual citizenship" ///
>                 W__sdc "Dual citizenship" ///
>                 R__Ll1rgdp "Destination Log GDP pc\testsubscript{c -(}t-1{c )-}" ///
>                 R__Ll1sgdp "Origin Log GDP pc\testsubscript{c -(}t-1{c )-}" ///
>                 R__comlang_ethno "Common Language" R__colony "Colonial relationship" ///
>                 W__l1runemp "Unemployment\textsubscript{c -(}t-1{c )-}" ///
>                 W__rmaccess_nodcgen10 "Acquisition Ease" ///
>                 W__rmlaboraccess10 "Labor Market Access" ///
>                 W__l1sunemp "Unemployment\textsubscript{c -(}t-1{c )-}" ///
>                 W__spolity2 "Democratic quality") ///
>                 order(W__rmpoliticalNIS10 W__rdc W__ln_migflow ///
>                         W__l1runemp W__rmaccess_nodcgen10 W__rmlaboraccess10 ///
>                          W__l1sunemp W__spolity2 ///
>                         B__rmpoliticalNIS10  B__ln_migflow  ///
>                         B__l1runemp B__rmaccess_nodcgen10 B__rmlaboraccess10 ///
>                          B__l1sunemp B__spolity2 ///
>                         R__municipal F_dualcit R__ln_stockvalue R__Ll1rgdp R__Ll1sgdp ///
>                         R__comlang_ethno R__colony) ///
>                 refcat(R__municipal "\textit{c -(}Random Effects{c )-}" ///
>                         W__rmpoliticalNIS10 "\testit{c -(}Destination Effects{c )-}" ///
>                         W__l1sunemp "\textit{c -(}Origin Effects{c )-}", ///
>                 nolabel) ///
>                 label nonumbers mgroups("1" "2") ///
>                 mtitles("Within" "Between" "Within" "Between") ///
>         addnotes("Unstandardized beta coefficients with robust clustered standard errors in parentheses." ///
>         "+p < 0.10 * p < 0.05, ** p < 0.01.") nonotes replace
{res}{txt}(note: file appendixc24.rtf not found)
(output written to {browse  `"appendixc24.rtf"'})

{com}.         
. ********************************************************************************
. *Appendix Table C.2.5
. ********************************************************************************
.         
. esttab robustrateS_logical robustrateR_logical robustrateS robustrateR robustS robustR using appendixc25.tex, se(3) b(3) aic ///
>         nogaps star(+ 0.1 * 0.05 ** 0.01) ///
>         mgroups("\textit{c -(}Citizenship 'Rate'{c )-}" "\textit{c -(}Citizenship acquisitions{c )-}", ///
>                 pattern(1 0 0 0 1 0) ///
>                 prefix(\multicolumn{c -(}@span{c )-}{c -(}c{c )-}{c -(}) suffix({c )-})span)  ///
>         refcat(municipal "\textit{c -(}Destination Effects{c )-}" Ll1sgdp "\textit{c -(}Origin Effects{c )-}", ///
>         nolabel) drop(*.year lns1_1_1:_cons lnsig_e:_cons) ///
>         indicate(Fixed Effects = *scode, labels("Origin \& Year " "--")) ///
>         order(municipal ln_migflow ln_bilateralstock1 ln_bilateralres ///
>                 rmpoliticalNIS10 dualcit rmaccess_nodcgen10 rmlaboraccess10 Ll1rgdp l1runemp ///
>                 Ll1sgdp l1sunemp spolity2 colony comlang_ethno) ///
>         label nonumbers mtitles("Stock" "Residents" "Stock" "Residents" "Stock" "Residents") ///
>         addnotes("Unstandardized beta coefficients with robust clustered standard errors in parentheses." ///
>         "+p < 0.10 * p < 0.05, ** p < 0.01.") nonotes replace
{res}{err}matsize too small
{p 4 4 2}
You have attempted to create a matrix with too many rows
or columns or attempted to fit a model with too many
variables.  You need to increase matsize; it is currently
400.
Use {cmd:set matsize}; see help {help matsize}.
{p_end}

{p 4 4 2}
If you are using {help fvvarlist:factor variables} and
included an interaction that has lots of missing cells,
either increase matsize or {cmd:set emptycells drop} to
reduce the required matrix size; see help
{help set emptycells}.
{p_end}

{p 4 4 2}
If you are using {help fvvarlist:factor variables}, you
might have accidentally treated a continuous variable as
a categorical, resulting in lots of categories.
Use the {cmd:c.} operator on such variables.
{p_end}
{txt}{search r(908):r(908);}

end of do-file

{search r(908):r(908);}

{com}. set matsize 10000

. do "/var/folders/ng/tnp3fn_94p36fd9ld0hpy1940000gp/T//SD25247.000000"
{txt}
{com}. ********************************************************************************
. *Appendix Table C.2.5
. ********************************************************************************
.         
. esttab robustrateS_logical robustrateR_logical robustrateS robustrateR robustS robustR using appendixc25.tex, se(3) b(3) aic ///
>         nogaps star(+ 0.1 * 0.05 ** 0.01) ///
>         mgroups("\textit{c -(}Citizenship 'Rate'{c )-}" "\textit{c -(}Citizenship acquisitions{c )-}", ///
>                 pattern(1 0 0 0 1 0) ///
>                 prefix(\multicolumn{c -(}@span{c )-}{c -(}c{c )-}{c -(}) suffix({c )-})span)  ///
>         refcat(municipal "\textit{c -(}Destination Effects{c )-}" Ll1sgdp "\textit{c -(}Origin Effects{c )-}", ///
>         nolabel) drop(*.year lns1_1_1:_cons lnsig_e:_cons) ///
>         indicate(Fixed Effects = *scode, labels("Origin \& Year " "--")) ///
>         order(municipal ln_migflow ln_bilateralstock1 ln_bilateralres ///
>                 rmpoliticalNIS10 dualcit rmaccess_nodcgen10 rmlaboraccess10 Ll1rgdp l1runemp ///
>                 Ll1sgdp l1sunemp spolity2 colony comlang_ethno) ///
>         label nonumbers mtitles("Stock" "Residents" "Stock" "Residents" "Stock" "Residents") ///
>         addnotes("Unstandardized beta coefficients with robust clustered standard errors in parentheses." ///
>         "+p < 0.10 * p < 0.05, ** p < 0.01.") nonotes replace
{res}{txt}(note: file appendixc25.tex not found)
(output written to {browse  `"appendixc25.tex"'})

{com}. 
. ********************************************************************************
. *Figure 4
. ********************************************************************************
. graph set window fontface "Helvetica" 
{txt}
{com}. 
. label variable Ll1rgdp "Log GDP pc{c -(}subscript:t-1{c )-}"
{txt}
{com}. label variable l1runemp "Unemployment{c -(}subscript:t-1{c )-}"
{txt}
{com}. label variable l1sunemp "Unemployment{c -(}subscript:t-1{c )-}"
{txt}
{com}. label variable Ll1sgdp "Log GDP pc{c -(}subscript:t-1{c )-}"
{txt}
{com}. 
. coefplot (main_1, label(w/o covariates) color("84 39 143") ///
>                 drop(*.scode _cons *.year) msymbol(O) msize(vsmall) levels(95 90) ///
>                 ciopts(lcolor("84 39 143" "84 39 143") lwidth(.2 .4)) citop offset(.3)) ///
>         (main,  label(w/political rights) color("117 107 177") ///
>                 drop(*.scode _cons *.year) msymbol(d) msize(small) levels(95 90) ///
>                 ciopts(lcolor("117 107 177" "117 107 177") lwidth(.2 .4)) citop) ///
>         (covariates, label(w/covariates) color("188 189 220") ///
>                 drop(*.scode _cons *.year) msymbol(s) msize(small) levels(95 90) ///
>                 ciopts(lcolor("188 189 220" "188 189 220") lwidth(.2 .4))citop offset(-.3)), ///
>         order(municipal dualcit ln_migflow ln_stockvalue ///
>                 rmpoliticalNIS10 rdc rmaccess_nodcgen10 rmlaboraccess10 Ll1rgdp l1runemp ///
>                 sdc Ll1sgdp l1sunemp spolity2 colony comlang_ethno) ///
>         headings(municipal= "{c -(}bf:Destination Effects{c )-}" ///
>                 Ll1sgdp = "{c -(}bf:Origin Effects{c )-}", labsize(small)) ///
>         xline(0, lcolor(black)) ///
>         ylabel(, labsize(vsmall)) ///
>         grid(glcolor(gs12) glpattern("dot")) ///
>         coeflabels(, notick) ///
>         legend(col(1) subtitle("{c -(}bf:Model{c )-}", size(small)) region(lcolor(black)) ///
>                 position(1) ring(0) size(vsmall)) ///
>         graphregion(color(white)) ///
>         plotregion(lcolor(black))
{res}{txt}
{com}. 
. graph export Figure4.png, replace
{txt}(file Figure4.png written in PNG format)

{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/Home/Dropbox/Research/Under Review/Local Suffrage/JOP/Replication/EUlog.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}16 Mar 2024, 09:32:18
{txt}{.-}
{smcl}
{txt}{sf}{ul off}